<template>
  <div class="home">
    <img alt="Vue logo" src="../assets/logo.png">
    <HelloWorld msg="Welcome to Your Vue.js App" />
    <button @click="fn1">bala</button>
    <button @click="fn2">选图</button>

  </div>
</template>

<script>
// @ is an alias to /src
import HelloWorld from '@/components/HelloWorld.vue';

export default {
  name: 'Home',
  components: {
    HelloWorld,
  },
  methods: {
    // eslint-disable-next-line space-before-function-paren
    fn1 () {
      // eslint-disable-next-line no-undef
      console.log(device);
    },
  },
};
</script>
